<!DOCtype html>
<html ng-app="advertiserApp">
	 <head>
	     <meta charset= "utf-8"/>
		 <title>编辑-视频广告</title>
		 <script type="text/javascript" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/vendor/angular/angular.min.js"></script>
		 <script type="text/javascript" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/vendor/jquery/dist/jquery.min.js"></script>		 		 
		 <script type="text/javascript" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/vendor/bootstrap/dist/js/bootstrap.min.js"></script>			
		 <script type="text/javascript" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/js/mainApp.js"></script>			 			 
		 <script type="text/javascript" src="/Lvscore_Advertiser_Maven/advertiserWeb/controller/advertiserCtrl.js"></script>	        	
		 <script type="text/javascript" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/js/main.js"></script>		 
		 <link rel="stylesheet" href="/Lvscore_Advertiser_Maven/advertiserWeb/static/vendor/bootstrap/dist/css/bootstrap.min.css" />
		 <link rel="stylesheet" href="/Lvscore_Advertiser_Maven/advertiserWeb/static/vendor/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css" />
		 <link rel="stylesheet" href="/Lvscore_Advertiser_Maven/advertiserWeb/static/styles/layout.css" />
		 <link rel="stylesheet" href="/Lvscore_Advertiser_Maven/advertiserWeb/static/styles/main.css" />
		 <link rel="shortcut icon" href="/Lvscore_Advertiser_Maven/advertiserWeb/static/favicon.ico" />
		 <link rel="bookmark" href="/Lvscore_Advertiser_Maven/advertiserWeb/static/favicon.ico" />
	 </head>
	 <body ng-controller="advertiserCtrl"  onload="editAd()">	
         <div class="headerBox"></div>
         <div class="nav"><ul></ul></div>
         <div class="content">
             <div class="websiteMapBox">
			     <span>当前页面></span>
				 <span>编辑</span>
			 </div>

			 <div class="itemAdGroup">
				 <div class="topTitle">
					 <button class="btn btn-primary btnTitle">广告名称</button>
				 </div>
				 <div id="adName" class="aditem">
				 </div>
			 </div>
			 <div class="itemAdGroup">
				 <div class="topTitle">
					 <button class="btn btn-primary btnTitle">广告链接</button>
					 <button class="modifyBtn btn btn-primary" id="" data-toggle="modal" data-target=".adUrlModal" onclick="modalDialog.adUrlEdit($(this))">修改</button>
				 </div>
				 <div id="advUrl" class="aditem adUrl">
				 </div>
			 </div>
			 <div class="itemAdGroup">
				 <div class="topTitle">
					 <button class="btn btn-primary btnTitle">广告描述</button>
					 <button class="modifyBtn btn btn-primary" id="click_event_description" data-toggle="modal" data-target=".adDescribeModal" onclick="modalDialog.adDescribeEdit($(this))">修改</button>
				 </div>
				 <div class="adDescribe">
				 </div>
			 </div>
			 <div class="itemAdGroup">
				 <div class="topTitle">
					 <button class="btn btn-primary btnTitle">广告默认封面</button>
					 <input class="modifyBtn btn btn-primary" onclick="flashImg.edit($(this))" data-toggle="modal" data-target=".flashPageEditModal" value="修改" type="button">
				 </div>
				 <div class="adCoverBox">
					 <img src="" class="adCoverImg" alt="" id="adHomeimage"/>
					 <!--<div class="coverCircle"></div>-->
				 </div>
			 </div>

			 <div class="itemAdGroup">
			     <div class="topTitle">
				     <button class="btn btn-primary btnTitle">广告关键字</button>
					 <button class="modifyBtn btn btn-primary"  id="click_event_key" data-toggle="modal" data-target=".keywordModal" onclick="modalDialog.keywordModalEdit($(this))">修改</button>
				 </div>
				 <div class="adKeyword aditem">
				 </div>			 
			 </div>
			 <div class="itemAdGroup">
			     <div class="topTitle">
				     <button class="btn btn-primary btnTitle" >广告属性标签</button>
					 <button class="modifyBtn btn btn-primary" id="click_event_adClassify" data-toggle="modal" data-target=".adTargetModal" onclick="modalDialog.adTargetEdit($(this))">修改</button>
				 </div>
				 <div class="adTarget">
				     <ul id="adClassify">
					 </ul>
				 </div>
				 
			 </div>
             <div class="itemAdGroup">
			     <div class="topTitle">
				     <button class="btn btn-primary btnTitle">广告终端格式</button>				 
				 </div>
				 <div class="adClient right">
				     <div class="left"  id="left" >
					     <img src="/Lvscore_Advertiser_Maven/advertiserWeb/static/images/padIcon.png" alt="" />
						 <span></span>
					 </div>
					 <div class="center">
					     <img id="videoSuoLueTu"src="/Lvscore_Advertiser_Maven/advertiserWeb/static/images/padPeople.png" alt="" />
					 </div>
					 <div class="right" id="right">
					    <p><span>视频大小：</span><span id="size"></span></p>
					     <p><span>视频时长：</span><span id="adTime"></span></p>
					 </div>
					 <div class="clear"></div>
				 </div>
				 <div class="clear"></div>
			 </div>	
             <a href="" class="btn btn-primary modifyImgSignBtn" onclick="updateAd()">提交审核</a>
         </div>
          <!-- keyword -->		 
       <div class="modal fade keywordModal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
             <div class="modal-dialog modal-lg">
                 <div class="modal-content">
			         <div class="modal-header" style="font-size:20px;font-weight:700;text-align:center">广告关键字</div>
					 <div class="modal-body" style="text-align:center">
					     <div class="form-group form-inline">
						     <label>关键字一：</label>
						     <input type="text" class="form-control"/>
						 </div>
						 <div class="form-group form-inline">
						     <label>关键字二：</label>
						     <input type="text" class="form-control"/>
						 </div>
						 <div class="form-group form-inline">
						     <label>关键字三：</label>
						     <input type="text" class="form-control"/>
						 </div>
						 <div class="form-group form-inline">
						     <label>关键字四：</label>
						     <input type="text" class="form-control"/>
						 </div>
						 <div class="form-group form-inline">
						     <label>关键字五：</label>
						     <input type="text" class="form-control"/>
						 </div>
						 <div class="form-group form-inline">
						     <label>关键字六：</label>
						     <input type="text" class="form-control"/>
						 </div>
					<!-- 	 <div class="form-group form-inline">
						     <label>关键字七：</label>
						     <input type="text" class="form-control"/>
						 </div> -->
						 <div class="form-group form-inline">
						     <button class="btn btn-primary" style="margin-left:74px;" onclick="modalDialog.keywordModal($(this))">确定</button>
						     <button class="btn btn-primary" style="margin-left:82px;" data-dismiss="modal">取消</button>
						 </div>
					 </div>					
                 </div>
             </div>
        </div>
        <!-- 广告链接 -->
		 <div class="modal fade adUrlModal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
			 <div class="modal-dialog modal-lg">
				 <div class="modal-content">
					 <div class="modal-header" style="font-size:20px;font-weight:700;text-align:center">广告链接</div>
					 <div class="modal-body" style="text-align:center">
					     <textarea class="form-control" style="width:90%;margin:20px auto;min-height:100px;">
						 </textarea>
						 <div class="form-group form-inline">
							 <button class="btn btn-primary" style="margin-left:74px;" onclick="modalDialog.adUrl($(this))">确定</button>
							 <button class="btn btn-primary" style="margin-left:82px;" data-dismiss="modal">取消</button>
						 </div>
					 </div>
				 </div>
			 </div>
		 </div>
		<!-- 广告描述 -->
		 <div class="modal fade adDescribeModal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
             <div class="modal-dialog modal-lg">
                 <div class="modal-content">
			         <div class="modal-header" style="font-size:20px;font-weight:700;text-align:center">广告描述</div>
					 <div class="modal-body" style="text-align:center">
					     <textarea class="form-control" style="width:90%;margin:20px auto;min-height:100px;">
						     
						 </textarea>
						 <div class="form-group form-inline">
						     <button class="btn btn-primary" style="margin-left:74px;" onclick="modalDialog.adDescribe($(this))">确定</button>
						     <button class="btn btn-primary" style="margin-left:82px;" data-dismiss="modal">取消</button>
						 </div>
					 </div>					
                 </div>
             </div>
        </div>
		<!-- 广告属性标签 -->
		<div class="modal fade adTargetModal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
             <div class="modal-dialog modal-lg">
                 <div class="modal-content">
			         <div class="modal-header" style="font-size:20px;font-weight:700;text-align:center">广告属性标签</div>
					 <div class="modal-body" style="text-align:center">	
                         <ul class="adTargetModalBox">
							 <li><img data-target="0" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/images/genre_pic1000.png" alt=""  data-id="1000"/></li>
							 <li><img data-target="0" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/images/genre_pic1001.png" alt=""  data-id="1001"/></li>
							 <li><img data-target="0" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/images/genre_pic1002.png" alt=""  data-id="1002"/></li>
							 <li><img data-target="0" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/images/genre_pic1003.png" alt=""  data-id="1003"/></li>
							 <li><img data-target="0" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/images/genre_pic1004.png" alt=""  data-id="1004"/></li>
							 <li><img data-target="0" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/images/genre_pic1005.png" alt=""  data-id="1005"/></li>
							 <li><img data-target="0" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/images/genre_pic1006.png" alt=""  data-id="1006"/></li>
							 <li><img data-target="0" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/images/genre_pic1007.png" alt=""  data-id="1007"/></li>
							 <li><img data-target="0" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/images/genre_pic1008.png" alt=""  data-id="1008"/></li>
							 <li><img data-target="0" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/images/genre_pic1009.png" alt=""  data-id="1009"/></li>
							 <li><img data-target="0" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/images/genre_pic1010.png" alt=""  data-id="1010"/></li>
							 <li><img data-target="0" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/images/genre_pic1011.png" alt=""  data-id="1011"/></li>
							 <li><img data-target="0" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/images/genre_pic1012.png" alt=""  data-id="1012"/></li>
							 <li><img data-target="0" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/images/genre_pic1013.png" alt=""  data-id="1013"/></li>
							 <li><img data-target="0" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/images/genre_pic1014.png" alt=""  data-id="1014"/></li>
							 <li><img data-target="0" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/images/genre_pic1015.png" alt=""  data-id="1015"/></li>
							 <li><img data-target="0" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/images/genre_pic1016.png" alt=""  data-id="1016"/></li>
							 <li><img data-target="0" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/images/genre_pic1017.png" alt=""  data-id="1017"/></li>
							 <li><img data-target="0" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/images/genre_pic1018.png" alt=""  data-id="1018"/></li>
							 <li><img data-target="0" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/images/genre_pic1019.png" alt=""  data-id="1019"/></li>
							 <li><img data-target="0" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/images/genre_pic1020.png" alt=""  data-id="1020"/></li>
							 <li><img data-target="0" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/images/genre_pic1021.png" alt=""  data-id="1021"/></li>
							 <li><img data-target="0" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/images/genre_pic1022.png" alt=""  data-id="1022"/></li>
							 <li><img data-target="0" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/images/genre_pic1023.png" alt=""  data-id="1023"/></li>
							 <li><img data-target="0" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/images/genre_pic1024.png" alt=""  data-id="1024"/></li>
							 <div class="clear"></div>
					     </ul>				     
						 <div class="form-group form-inline">
						     <button class="btn btn-primary" style="margin-left:74px;" onclick="modalDialog.adTarget($(this))">确定</button>
						     <button class="btn btn-primary" style="margin-left:82px;" data-dismiss="modal">取消</button>
						 </div>
					 </div>					
                 </div>
             </div>
        </div>
        
         <!-- 封面上传 -->
           <div class="modal fade flashPageEditModal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
             <div class="modal-dialog modal-lg">
                 <div class="modal-content">
                     <div class="modal-header" style="text-align:center"><label>上传图片</label></div>				 
					 <div class="modal-body" style="text-align:center">	
					     <div class="form-group form-inline" style="position:relative;">
						     <label style="width:40%;line-height:36px;" class="left rightAlign">选择上传图片</label>
							 <input type="file" onchange="flashImg.editUpload(this,$(this))" class="form-control" style="width:90px;height:40px;opacity:0;z-index:1000;position:absolute;top:0px;left:42%;cursor:pointer"/>
							 <button  class="btn btn-primary left" style="cursor:pointer;margin-left:2%">点击上传</button>
							 <div class="clear"></div>
						 </div>
						 <div style="width:315px;height:235px;margin:30px auto;border:1px solid #eee">
						     <img style="width:100%;height:100%" src="" alt="" />
						 </div>
						 <div class="form-group form-inline">
						     <button class="btn btn-primary"  onclick="flashImg.uploadPage($(this))">确定</button>
						     <button class="btn btn-primary"  style="margin-left:50px;" data-dismiss="modal">取消</button>
						 </div>
					 </div>					
                 </div>
             </div>
           </div>
	     <script type="text/javascript" src="/Lvscore_Advertiser_Maven/advertiserWeb/controller/uploadAd/uploaded/modifyVideo.js"></script>	
	 </body>
	 	 
</html>